export default function(){
    return {
        name: "测试插件",
        icon: "https://cdn.jsdelivr.net/gh/yu-yu-yu-yu/cdn@1.0.0/img/logo.png",
        version: "1.0.0",
        author: "yu-yu-yu-yu",
        description: "测试插件",
        onLoad: function(){
            console.log("插件加载成功")
        },
        onUnload: function(){
            console.log("插件卸载成功")
        },
        getAudioList: function(){
            return [
                {
                    title: "测试歌曲",
                    artist: "测试歌手",
                    album: "测试专辑",
                    dir: "分类",
                    lyric: "",
                    path: "http://downsc.chinaz.net/Files/DownLoad/sound1/201906/11582.mp3",
                    cover: "https://sc01.alicdn.com/kf/HTB1l9ZRJwHqK1RjSZFgq6y7JXXaA.jpg",
                    method: "GET",
                    headers: {},
                },
                {
                    title: "测试歌曲2",
                    artist: "测试歌手2",
                    album: "测试专辑2",
                    dir: "分类2",
                    lyric: "[00:00.000]在线歌曲，一般没有歌词",
                    path: "http://downsc.chinaz.net/files/download/sound1/201206/1638.mp3",
                    cover: "",
                    method: "GET",
                    headers: "",
                },
                {
                    title: "中央台中国之声",
                    artist: "FM",
                    album: "新闻",
                    dir: "新闻",
                    lyric: "",
                    path: "http://rtmpcnr001.cnr.cn/live/zgzs/playlist.m3u8",
                    cover: "",
                    method: "GET",
                    headers: "",
                },
                {
                    title: "北京新闻广播",
                    artist: "FM",
                    album: "新闻",
                    dir: "新闻",
                    lyric: "",
                    path: "http://cnlive.cnr.cn/hls/bjxwgb.m3u8",
                    cover: "",
                    method: "GET",
                    headers: "",
                },
            ]
        },
        hasMore: function(){
            return false;
        }
    }
}